package com.xfzp.d3;

/**
 * 顶点。
 * 
 * @author AndroidApe
 * @version 2011-10-21
 */
public class Vertex extends Coord {

	private Color c;

	public Vertex() {
	}

	public Vertex(float x, float y, float z) {
		super(x, y, z);
	}

	public Vertex(float x, float y, float z, Color c) {
		super(x, y, z);
		this.c = c;
	}

	/**
	 * 返回颜色
	 * 
	 * @return
	 */
	public Color c() {
		return c;
	}

	/**
	 * 设置颜色
	 * 
	 * @param color
	 */
	public void setColor(Color color) {
		this.c = color;
	}
}
